home *** CD-ROM | disk | FTP | other *** search
/ NeXT Enterprise Objects Framework 1.1 / NeXT Enterprise Objects Framework 1.1.iso / NextDeveloper / Examples / EnterpriseObjects / MasteringDetails / EOFExtensions.subproj / ResetRelationships.h < prev    next >
Encoding:
Text File  |  1995-02-18  |  794 b   |  17 lines

  1. /* ResetRelationships.h created by cfeder on Thu 15-Dec-1994 */
  2. #import <eoaccess/eoaccess.h>
  3.  
  4. // These extensions helps handle resetting relationship pointers when foreign
  5. // key attributes in the source object have changed.  Most programs
  6. // would be better off going the other direction: set the relationship pointer
  7. // to the new destination object, and then use the methods above to fix
  8. // up the keys.  RelationshipKeySetter handles this case.
  9. @interface EODatabaseChannel (setForeignKey)
  10. - objectForPrimaryKey:(NSDictionary *)key entity:(EOEntity *)entity;
  11. - fetchObjectDescribedByQualifier:(EOQualifier *)qualifier;
  12. - destinationObjectForRelationship:relationship sourceObject:sourceObject;
  13. - (void)updateRelationshipsInObject:object forModifiedAttributes:(NSArray *)attributes;
  14. @end
  15.  
  16.  
  17.